export const TYPE_ENUM = {
	LABEL          : 'LABEL',
	INPUT          : 'INPUT',
	NUMBER         : 'NUMBER',
	NUMBER_RANGE   : 'NUMBER_RANGE',
	RADIO          : 'RADIO',
	SWITCH         : 'SWITCH',
	TEXT_AREA      : 'TEXT_AREA',
	PASSWORD       : 'PASSWORD',
	SELECT         : 'SELECT',
	SELECT_MULTIPLE: 'SELECT_MULTIPLE',
	DATE           : 'DATE',
	DATE_TIME      : 'DATE_TIME',
	DATE_RANGE     : 'DATE_RANGE',
	TREE_SELECT    : 'TREE_SELECT',
	UPLOAD         : 'UPLOAD',
	FILE_LIST      : 'FILE_LIST',
	// MAP_LOCATION_PICK: 'MAP_LOCATION_PICK', // 有需要再加
}

export const START_PAGE = 0

export const DATE_FORMAT      = 'yyyy-MM-dd'
export const DATE_TIME_FORMAT = 'yyyy-MM-dd HH:mm:ss'

export const PICK_LOCAL_MAP_DEFAULT_CENTER = '沈阳市'

const bucketName = 'tx-process'

export const ossUri = {
	uploadUrl: `/api/estate/file/upload?bucketName=${bucketName}`,
	downloadUrl: `/api/estate/file/download?bucketName=${bucketName}&fileId=`,
}
